//
//  HZAction.h
//  HZTC_Stock
//
//  Created by MayerF on 17/3/13.
//  Copyright © 2017年 MayerF. All rights reserved.
//

#ifndef HZAction_h
#define HZAction_h

typedef void(^ActionBack)(BOOL isYes, id result);
typedef void(^ActionDo)(NSDictionary *params, id other, ActionBack actionBack);
typedef void (^HZBlock) ();
typedef void (^HZObjectBlock) (id obj);

/*响应事件*/
typedef NS_ENUM(NSInteger, kHZAction) {
    kHZ_jumpSingleStock_Action,
    kHZ_stockListMore_Action,         //股票列表更多
    kHZ_radioGroupClick_Action,       //点击radioGroup
    kHZ_PortraitRadioGroupClick_Action,//点击竖向radioGroup
    kHZ_segmentControlClick_Action,
    kHZ_setsegmentControlState_Action,//设置segment状态
    kHZ_setLandscapeScreen_Action,    //设置横屏
    kHZ_cancelLandscapeScreen_Action, //取消横屏
    kHZ_updateConstraints_Action,     //更新约束
    kHZ_dismissSearchVC_Action,       //取消搜索控制器
    kHZ_updateNewData_Action,         //更新数据
    kHZ_presentSearchVC_Action,       //模态搜索
    kHZ_ClickKLineRequest_Action,     //点击K线按钮
    kHZ_ClickDataGridHead_Action,     //更多行情列表表格头事件
    kHZ_ClickMarketSectionHeader_Action, //打开或关闭列表
    kHZ_ExecuteListClick_Action,       //策略执行列表
    kHZ_RewardListClick_Action,        //回报执行列表
    kHZ_BlockListDetailClick_Action,   //板块列表详情
    KMSKlineChartViewType,              //K线视图
    KMSClickIsShowTenLineActionType,    //K线显示十字线
    KMSClickLandscapeIndexActionType,    //点击横屏指标
    KMSClickLoginAndDownLoadOwnStockType,//登录账户下载自选股
    kHZ_createPolicy_Action,
};


static NSString* const kNotificationHomeSearchKey = @"kNotificationHome_SearchKey";//首页搜索key
static NSString* const kNotificationHomeDayNightKey = @"kNotificationHome_DayNightKey";//首页切换日夜模式key


#endif /* HZAction_h */
